const router = require('koa-router')();
const pic = require('../modules/pic');

router.post('/pic',async(ctx,next) => {
    ctx.body = await pic.getPic(ctx.request.files.upload);
})

module.exports = router;